<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Data Tables</title>
<jsp:include page="link.jsp"></jsp:include>

</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper">

		<jsp:include page="header.jsp"></jsp:include>
		<!-- Left side column. contains the logo and sidebar -->
		<jsp:include page="sidebar.jsp"></jsp:include>

		<!-- Content Wrapper. Contains page content -->
		<div class="content-wrapper">
			<!-- Content Header (Page header) -->
			<jsp:include page="infoHead.jsp">
				<jsp:param value="作业类型管理" name="title"></jsp:param>
				<jsp:param value="作业类型数据的添加、删除、修改和查询" name="subTitle"></jsp:param>
			</jsp:include>

			<!-- Main content -->
			<section class="content">
				<div class="row">
					<div class="col-xs-12">
						<div class="box">
							<div class="box-header">
								<button onclick="aClick('<%=basePath %>admin/newsTypeAdd.jsp')" type="button" class="btn btn-default">
									<i class="fa fa-plus"></i>Axure Rp
								</button>
							</div>
							<!-- /.box-header -->
							<div class="box-body">
								<table id="example2" class="table table-bordered table-hover">
									<thead>
										<tr>
											<th>作业</th>
											<th>操作</th>
											 
										</tr>
									</thead>
									<tbody>
									  <c:forEach var="name" items="${fileNameMap}">
									   <c:url value="/RDownLoadServlet" var="downurl">
										          <c:param name="filename" value="${name.key}"></c:param>
										      </c:url>
										<tr>
											<td>${name.value}</td>
											 
											<td>
											<a href="${downurl}">
												<button   type="button" class="btn  btn-default ">
													下载
												</button> </a>&nbsp;&nbsp;
 
											</td>
										</tr>
									</c:forEach>
									
										
									</tbody>
									<tfoot>
										<tr>
											<th colspan="3">分页</th>
											
										</tr>
									</tfoot>
								</table>
							</div>
							<!-- /.box-body -->
						</div>
						<!-- /.box -->
					</div>
					<!-- /.col -->
				</div>
				<!-- /.row -->
			</section>
			<!-- /.content -->
		</div>
		<!-- /.content-wrapper -->
		<jsp:include page="footer.jsp"></jsp:include>


	</div>
	<!-- ./wrapper -->

	<jsp:include page="js.jsp"></jsp:include>
</body>
</html>
 



 

  

 	 